package cn.zhiwen.entity;

import java.io.Serializable;
import java.util.Date;

public class Customer implements Serializable {

    private static final long serialVersionUID = 1790680740896215845L;

    private Integer           id;

    private String            custtype;

    private Integer           dealerid;

    private String            dealerCode;

    private Integer           type;

    private String            accountGrade;

    private String            custname;

    private String            jobdesc;

    private String            linktel;

    private String            password;

    private String            email;

    private Integer           status;

    private String            linktelBak;

    private String            openId;

    private Integer           authflag;

    private String            brandcode;

    private Integer           createUserId;

    private Date              createTime;

    private Integer           updateUserId;

    private Date              updateTime;

    private Integer           canReceive;

    private Integer           isAccept;

    private Date              acceptTime;

    private Integer           dimId;

    private String            dimCode;

    private String appImageUrl;

    private String wechatImageUrl;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCusttype() {
        return custtype;
    }

    public void setCusttype(String custtype) {
        this.custtype = custtype == null ? null : custtype.trim();
    }

    public Integer getDealerid() {
        return dealerid;
    }

    public void setDealerid(Integer dealerid) {
        this.dealerid = dealerid;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCustname() {
        return custname;
    }

    public void setCustname(String custname) {
        this.custname = custname == null ? null : custname.trim();
    }

    public String getAccountGrade() {
        return accountGrade;
    }

    public void setAccountGrade(String accountGrade) {
        this.accountGrade = accountGrade;
    }

    public String getJobdesc() {
        return jobdesc;
    }

    public void setJobdesc(String jobdesc) {
        this.jobdesc = jobdesc == null ? null : jobdesc.trim();
    }

    public String getLinktel() {
        return linktel;
    }

    public void setLinktel(String linktel) {
        this.linktel = linktel == null ? null : linktel.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLinktelBak() {
        return linktelBak;
    }

    public void setLinktelBak(String linktelBak) {
        this.linktelBak = linktelBak == null ? null : linktelBak.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public Integer getAuthflag() {
        return authflag;
    }

    public void setAuthflag(Integer authflag) {
        this.authflag = authflag;
    }

    public String getBrandcode() {
        return brandcode;
    }

    public void setBrandcode(String brandcode) {
        this.brandcode = brandcode == null ? null : brandcode.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        Date getTime = createTime;
        return getTime;
    }

    public void setCreateTime(Date createTime) {
        if (createTime == null) {
            this.createTime = null;
        } else {
            this.createTime = (Date) createTime.clone();
        }
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateTime() {
        Date getTime = updateTime;
        return getTime;
    }

    public void setUpdateTime(Date updateTime) {
        if (updateTime == null) {
            this.updateTime = null;
        } else {
            this.updateTime = (Date) updateTime.clone();
        }
    }

    public Integer getCanReceive() {
        return canReceive;
    }

    public void setCanReceive(Integer canReceive) {
        this.canReceive = canReceive;
    }

    public Integer getIsAccept() {
        return isAccept;
    }

    public void setIsAccept(Integer isAccept) {
        this.isAccept = isAccept;
    }

    public Date getAcceptTime() {
        Date getTime = acceptTime;
        return getTime;
    }

    public void setAcceptTime(Date acceptTime) {
        if (acceptTime == null) {
            this.acceptTime = null;
        } else {
            this.acceptTime = (Date) updateTime.clone();
        }
    }

    public Integer getDimId() {
        return dimId;
    }

    public void setDimId(Integer dimId) {
        this.dimId = dimId;
    }

    public String getDimCode() {
        return dimCode;
    }

    public void setDimCode(String dimCode) {
        this.dimCode = dimCode;
    }

    public String getAppImageUrl() {
        return appImageUrl;
    }

    public void setAppImageUrl(String appImageUrl) {
        this.appImageUrl = appImageUrl;
    }

    public String getWechatImageUrl() {
        return wechatImageUrl;
    }

    public void setWechatImageUrl(String wechatImageUrl) {
        this.wechatImageUrl = wechatImageUrl;
    }
}
